import request from '@/utils/request1'

// 解绑生美商户银行卡
export function untieCard(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/releaseBankCard.html',
    method: 'post',
    data: query
  })
}
// 生美商户银行卡列表
export function listBankCard(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/listBankCard.html',
    method: 'post',
    data: query
  })
}
// 生美商户银行卡详情
export function infoBankCard(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/getBankCardDetail.html',
    method: 'post',
    data: query
  })
}
// 验证生美商户银行卡
export function confirmBankCard(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/confirmBankCard.html',
    method: 'post',
    data: query
  })
}
// // 获取验证码
// export function getMsg(query) {
//   return request({
//     url: '/com.mmk.reservation.api.AdminMsgProvider/1.0.0/sendMsgCommon.html',
//     method: 'post',
//     data: query
//   })
// }
// 打款金额验证
export function checkAmount(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/verifyRandomAmount.html',
    method: 'post',
    data: query
  })
}
// 添加生美商户银行卡
export function addCard(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/addBankCard.html',
    method: 'post',
    data: query
  })
}
// 获取银行卡
export function getBank(query) {
  return request({
    url: '/com.mmk.pay.api.OpenBankCodeProvider/1.0.0/bankDropdownList.html',
    method: 'post',
    data: query
  })
}
// 编辑银行卡
export function eidtBank(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/updateBankCard.html',
    method: 'post',
    data: query
  })
}
// 银行卡
export function getBankName(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/getBankTitle.html',
    method: 'post',
    data: query
  })
}
// 对公重新打款
export function sendAmount(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/sendVerifyAmount.html',
    method: 'post',
    data: query
  })
}

